<?
//$host="192.168.164.126";
//$user="somsawat";
//$pw="s*lock9#";
$host="localhost";
$user="dsccmis";
$pw="8vogoH8";



//$pw="fugvl:u:u";
$c = mysql_connect($host,$user,$pw);
if (!$c) 
{
  die('Not connected : ' . mysql_error());
  exit();
}else{
	if (!mysql_select_db("dsccmis", $c)) {
		echo 'Could not select database';
		exit;
	}else{
		mysql_query("set names utf8");
	}
}
?>